package com.aos.erp.schools.model.car.Dto;

import com.aos.erp.schools.enums.student.school.CarFuelType;
import com.aos.erp.schools.enums.student.school.CarProfile;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;


@Getter
@Setter
public class CarDto implements Serializable {
	private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    //@NotNull(message = "id")
    private Long id;


    @ApiModelProperty("车牌号")
    @NotNull(message = "车牌号不能为空")
    private String carNumbers;

    @ApiModelProperty("颜色")
    @NotNull(message = "颜色不能为空")
    private String colour;

    @ApiModelProperty("发动机号")
    private String engineNumber;


    @ApiModelProperty("车辆型号")
    @NotNull(message = "车辆型号不能为空")
    private String carModel;

    @ApiModelProperty("车辆档型 (1：自动  2：手动)")
    @NotNull(message = "车辆档型不能为空")
    private Integer carProfile;


    @ApiModelProperty("车辆类型 (1:小型轿车  2：客车   3：挂车)")
    @NotNull(message = "车辆类型不能为空")
    private Integer carType;


    @ApiModelProperty("购买时间")
    @NotNull(message = "购买时间不能为空")
    private Date buyTime;

    @ApiModelProperty("登记时间")
    @NotNull(message = "登记时间不能为空")
    private Date registerTime;

    @ApiModelProperty("燃油类型(1: 汽油   2：柴油)")
    @NotNull(message = "燃油类型不能为空")
    private Integer fuelType;

    @ApiModelProperty("里程")
    @NotNull(message = "里程不能为空")
    private String mileage;

    @ApiModelProperty("保险公司")
    @NotNull(message = "保险公司不能为空")
    private String insurer;

    @ApiModelProperty("保险截止日期")
    @NotNull(message = "保险截止日期不能为空")
    private Date insurerTime;

    @ApiModelProperty("年审截止日期")
    @NotNull(message = "年审截止日期不能为空")
    private Date annualTime;

    @ApiModelProperty("车辆行驶证图片")
    @NotNull(message = "车辆行驶证图片不能为空")
    private String carTravelCard;

    @ApiModelProperty("车辆图片")
    @NotNull(message = "车辆图片不能为空")
    private String  carPicIds;

    @ApiModelProperty(value = "驾校id",hidden = true)
    private String driversSchoolId;
}
